from ftllibs.items.itemtools import ItemIconData

class Item_3100():
    def __init__(self):
        self.parent=False
        self.Name="Lich Bane"
        self.IconFileName="3100.png"
        self.ID=3100
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1033','3057','1027','1052','1026']
        self.Builds_Into=[]
        self.Tags=['spell_block','spell_damage','mana','movement']
        self.Costs = 950
        self.Total_Costs = 3470
        self.Description="+350 Mana +80 Ability Power +30 Magic Resist +7% Movement Speed  UNIQUE Passive: After using an ability, your next basic attack gains bonus physical damage equal to your Ability Power (2 second cooldown). Does not stack with Sheen or Trinity Force."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Mana += 350.0
        self.parent.Ability_Power += 80.0
        self.parent.Magic_Resist += 30.0
        self.parent.Movement_Speed += 7.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

